
/**
 * 自动合并 modules 目录下 js
 */
const files = require.context('./modules', false, /\.js$/);
const allMockFun = {};
files.keys().forEach(key => {
  Object.assign(allMockFun, files(key)['default']);
});
console.log(9, 'allMockFuns=>', allMockFun);
export default allMockFun;